<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 
	  xmlns:th="http://www.thymeleaf.org"
	  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="layout">
      
      <head>
        <title>File Uploading</title>
    </head>
    <body>
    	<div layout:fragment="content">
	        	<h2>File Uploading</h2>
	        	<form action="uploadMyFile" th:action="@{/uploadMyFile}" method="post" enctype="multipart/form-data">
				      <input type="file" name="myFile" />
				      <input type="submit" />
				 </form>
				 <div th:if="${msg != null}">
				 	<span th:text="${msg}">msg</span>
				 </div>
	        <hr/>
	        
    	</div>
    	
    </body>
    
</html>